package com.baosight.risk.service.fltd.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * Table: T_FLTD_NOTICE
 */
@Data
@ApiModel
@Table(name = "T_FLTD_NOTICE")
public class FltdNotice extends BaseEntity {

    /**
     * 当前责任人
     *
     * Table:     T_FLTD_NOTICE
     * Column:    CURR_USER_CODE
     * Nullable:  true
     */
     @ApiModelProperty("当前责任人")
    @Column(name = "CURR_USER_CODE")
    private String currUserCode;

    /**
     * 当前责任人姓名
     *
     * Table:     T_FLTD_NOTICE
     * Column:    CURR_USER_NAME
     * Nullable:  true
     */
     @ApiModelProperty("当前责任人姓名")
    @Column(name = "CURR_USER_NAME")
    private String currUserName;

    /**
     * 消息流水号
     *
     * Table:     T_FLTD_NOTICE
     * Column:    MSG_NO
     * Nullable:  true
     */
     @ApiModelProperty("消息流水号")
    @Column(name = "MSG_NO")
    private String msgNo;

    /**
     * 消息类型
     *
     * Table:     T_FLTD_NOTICE
     * Column:    MESSAGE_TYPE
     * Nullable:  true
     */
     @ApiModelProperty("消息类型")
    @Column(name = "MESSAGE_TYPE")
    private String messageType;

    /**
     * 身份标识
     *
     * Table:     T_FLTD_NOTICE
     * Column:    IDENTIFICATION
     * Nullable:  true
     */
     @ApiModelProperty("身份标识")
    @Column(name = "IDENTIFICATION")
    private String identification;

    /**
     * 待办标题
     *
     * Table:     T_FLTD_NOTICE
     * Column:    SUBJECT
     * Nullable:  true
     */
     @ApiModelProperty("待办标题")
    @Column(name = "SUBJECT")
    private String subject;

    /**
     * 待办条数
     *
     * Table:     T_FLTD_NOTICE
     * Column:    NUMBER
     * Nullable:  true
     */
     @ApiModelProperty("待办条数")
    @Column(name = "\"NUMBER\"")
    private Integer number;

    /**
     * 网址链接
     *
     * Table:     T_FLTD_NOTICE
     * Column:    URL
     * Nullable:  true
     */
     @ApiModelProperty("网址链接")
    @Column(name = "URL")
    private String url;

    /**
     * 发送者
     *
     * Table:     T_FLTD_NOTICE
     * Column:    FROM
     * Nullable:  true
     */
     @ApiModelProperty("发送者")
    @Column(name = "\"FROM\"")
    private String from;

    /**
     * 接收者
     *
     * Table:     T_FLTD_NOTICE
     * Column:    TO
     * Nullable:  true
     */
     @ApiModelProperty("接收者")
    @Column(name = "\"TO\"")
    private String to;

    /**
     * 失效时间
     *
     * Table:     T_FLTD_NOTICE
     * Column:    EXPIRY_DATE
     * Nullable:  true
     */
     @ApiModelProperty("失效时间")
    @Column(name = "EXPIRY_DATE")
    private Date expiryDate;

    /**
     * xbus源系统编码
     *
     * Table:     T_FLTD_NOTICE
     * Column:    SENDSYSXBUSCODE
     * Nullable:  true
     */
     @ApiModelProperty("xbus源系统编码")
    @Column(name = "SENDSYSXBUSCODE")
    private String sendsysxbuscode;

    /**
     * 状态(active/ignore/close)
     *
     * Table:     T_FLTD_NOTICE
     * Column:    STATUS
     * Nullable:  true
     */
     @ApiModelProperty("状态(active/ignore/close)")
    @Column(name = "STATUS")
    private String status;

		/**
	* $column.comments
	*/
	@Column(name = "FLOW_ID")
	private String flowId;
	/**
	* $column.comments
	*/
	@Column(name = "REQUEST_NAME")
	private String requestName;
	/**
	* $column.comments
	*/
	@Column(name = "WORKFLOW_NAME")
	private String workflowName;
	/**
	* $column.comments
	*/
	@Column(name = "NODE_NAME")
	private String nodeName;

    private static final long serialVersionUID = 1L;
}
